<ion-view title="我的收藏" class="collection">
  <div class="customer-header">
    <div class="sub-header">
      <div class="tabname">
        <a  ng-repeat="item in collection.tab" ng-class="{'active':item.flag}" class="tabname" ng-click="collection.changClass($index)">{{item.name}}</a>
      </div>
    </div>
  </div>
  <hr-search top="true"></hr-search>
  <ion-content class="collection-content">
   <hr-list list="list1" list-content="collection.productList"></hr-list>
  </ion-content>
</ion-view>